package cn.xny.txcc.code;

public enum  ErrorCode {

    SYSTEM_ERROR("-1000","系统错误");

    String code;
    String message;

    ErrorCode(String code, String message) {
        this.code = code;
        this.message = message;

    }

    ErrorCode() {
    }

    ErrorCode(String code) {
        this.code = code;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }
}
